package com.corpgovernment.common.enums;

import com.ctrip.corp.obt.generic.exception.ResponseStatus;

/**
 * 调用分销接口默认的响应状态
 *
 * @author xukang zhang
 * @date 2024/2/19 20:54
 */
public enum DefaultSupplierResponseStatus implements ResponseStatus {

    /**
     * 分销响应结果为空
     */
    EMPTY_RESPONSE(-10, "分销响应结果为空");

    private int code;
    private String message;

    DefaultSupplierResponseStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int code() {
        return 0;
    }

    @Override
    public String message() {
        return null;
    }
}
